#ifndef DLG_BOOK_GETANDSET_H
#define DLG_BOOK_GETANDSET_H

#include <QDialog>

namespace Ui {
class Dlg_Book_GetAndSet;
}

class Dlg_Book_GetAndSet : public QDialog
{
    Q_OBJECT

public:
    explicit Dlg_Book_GetAndSet(QWidget *parent = nullptr);
    ~Dlg_Book_GetAndSet();
    void setType(bool isReturn);
    void setBookId(int id);
private slots:
    void on_btn_cancel_clicked();

    void on_btn_get_clicked();

private:
    Ui::Dlg_Book_GetAndSet *ui;
    int m_bookId;
    bool m_isReturn = false;
};

#endif // DLG_BOOK_GETANDSET_H
